package org.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.demo.entity.Community;
import org.demo.entity.Notice;
import org.demo.entity.PageBean;

import java.util.List;

public interface INoticeService extends IService<Notice> {
    void add(Notice notice);
    void addadmin(Notice notice);

    List<Notice> list (Notice notice);

    void update(Notice notice);

    void delete(String id);

    PageBean<Notice> Pagelist(Integer pageNum, Integer pageSize, Notice notice);

    void addNotice(String adminId, String userId, String houseId, String content, String rolesCustomer, String rolesIntermediary, String rolesLandlord);
}
